<!DOCTYPE html>
<html>
<head>
  <style>img{ height: 100px; float: left; }</style>
  <script src="http://code.jquery.com/jquery-1.5.js"></script>
</head>
<body>
  <div id="images">

</div>
<script>

var jqxhr = $.getJSON("http://localhost:8080/SS/syt/URLProxy/getMp3List.json", {
    tags: {
			    tags: "cat",
			    tagmode: "any",
			    format: "json"
 		  },
    tagmode: "a  ny",
    format: "json"
  },
function() {
  alert("success");
})
.success(function() { alert("second success"); })
.error(function() { alert("error"); })
.complete(function() { alert("complete"); });

// perform other work here ...

// Set another completion function for the request above
jqxhr.complete(function(){ alert("second complete"); });
</script>

</body>
</html>